
export type TypeStoryEvent =  {
	time : Number,//后四位分别为月、日
	timeText : string,
	timeSystem : string,
	groupId : string,
	title: string,
	content : string,
	tags: Array<string>,
	link : Array<string>,
	docPath: string,
}


export type TypeStoryGroup = {
	id : string,
	title : string,
	styles : {[key: string]: string}
}

export type TypeAppState = {
	title : string,
	fileName : string,
	createdAt : Date,
	eventsCount: Number,
	pageIndex: Number,
	pageSize: Number,
	pageCount: Number,
	dateRange : {
		begin : Number,
		end : Number
	},
	groups : {[key: string]: TypeStoryGroup},
	// 计算完成的事件
	events : Array<TypeStoryEvent>,
	loaded: boolean,
	scrollTo: number
}